/* 页面通用样式 */
.btn-primary {
  background-color: #4263eb;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #3857e8;
}

.btn-outline {
  background-color: white;
  color: #4263eb;
  border: 1px solid #4263eb;
  padding: 7px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
}

.btn-outline:hover {
  background-color: #f0f7ff;
}

.btn-text {
  background: none;
  border: none;
  color: #4263eb;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
}

.btn-text:hover {
  text-decoration: underline;
}

/* 表单样式 */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4263eb;
  box-shadow: 0 0 0 2px rgba(66, 99, 235, 0.2);
}

.form-hint {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.form-actions {
  margin-top: 24px;
  display: flex;
}

/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th {
  background-color: #f5f5f5;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #e8e8e8;
}

table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
}

table tr:hover {
  background-color: #fafafa;
}

.empty-data {
  text-align: center;
  color: #999;
  padding: 24px 0;
}

/* 卡片样式 */
.stat-card {
  background-color: white;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 160px;
  margin-right: 16px;
}

.stat-card:last-child {
  margin-right: 0;
}

.stat-card h3 {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px 0;
  font-weight: normal;
}

.stat-card .stat-value {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* 搜索和过滤区域 */
.search-box {
  margin-bottom: 16px;
}

.search-box input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
}

.search-input {
  display: flex;
  gap: 8px;
}

.search-input input {
  flex: 1;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 40px 0;
  color: #999;
}

/* 集成网站页面样式 */
.integrated-website-page {
  padding: 20px;
}

.integrated-website-page h2 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
}

.website-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-filter-container {
  display: flex;
  flex: 1;
  max-width: 80%;
}

.search-filter-container .search-input {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
}

.search-filter-container input {
  width: 250px;
  height: 36px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 0 12px;
}

.search-filter-container select {
  width: 150px;
  height: 36px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 0 12px;
}

.new-integration-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #5a3bfc;
}

.btn-icon {
  font-size: 16px;
  font-weight: bold;
}

.website-table {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.empty-data-row td {
  border-bottom: none;
}

.empty-data-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.empty-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.empty-text {
  color: #999;
  font-size: 14px;
}

.integration-guide {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 20px;
  margin-top: 20px;
}

.integration-guide h3 {
  font-size: 16px;
  margin-bottom: 15px;
}

.guide-steps {
  padding-left: 20px;
}

.guide-steps li {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.5;
}

/* 状态标签 */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  background-color: #e6f7ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}

.btn-danger {
  color: #ff4d4f;
}

.btn-danger:hover {
  background-color: #fff1f0;
} 